package com.vcredit.creditcat.service;
import com.vcredit.creditcat.model.ProductOrderLog;
import com.vcredit.creditcat.persistence.base.ProductOrderLogMapper;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 
 **/
@Service
public class ProductOrderLogService {
	@Autowired
    private ProductOrderLogMapper mapper;
    
    public void insert(ProductOrderLog obj){
    	mapper.insert(obj);
    }
    
    public void update(ProductOrderLog obj){
    	mapper.update(obj);
    }
    
    public List<ProductOrderLog> findAll(){
		return mapper.findAll();
	}
	
	public List<ProductOrderLog> find(ProductOrderLog obj){
		return mapper.find(obj);
	}
}